<% include "/WEB-INF/includes/cabeceira.gtpl" %>


<div id="content" class="group column span-16 colborder last">

<%  
   def id = request.getAttribute("idItem")
   def item = request.getAttribute('item')
  def erro = request.getAttribute('erro') 
  def mensaxeExito = request.getAttribute('mensaxe')
%>

<% if (erro) { %>
<div class="erro">
${erro?:''}
</div>
<% } %>

<% if (mensaxeExito) { %>
<div class="exito">
${mensaxeExito?:''}
</div>
<% } %>



<div id="container">
<div id="container-inner">

<h1>modifica datos do item [id=${id}]</h1>

<form id="formulario" method="POST" action="/admin/modificaItem.groovy">
<input type="hidden" name="id" value="${id}" />       
<fieldset>
<p></p>


<div class="campo">
<label class="etiqueta" for="tipo">Tipo</label>
<input type="text" id="tipo" name="tipo" value="${item?item.tipo:''}"/>
<span class="mensaje"></span>
</div>


<div class="campo">
<label class="etiqueta" for="idConcello">idConcello</label>
<input type="text" id="idConcello" name="idConcello" value="${item?item.idConcello:''}"/>
<span class="mensaje"></span>
</div>


  <div class="controls">
  
       
      <!--<a href="/" id="cancel" class="submit" name="cancel">Cancela</a>-->      
      <input id="submit" class="submit" name="submit" type="submit" 
          value="Modifica concello"/>
      
          
    </div>
    

</fieldset>

</form>
</div>
</div>






    

</div> <!-- /content -->    


<% include "/WEB-INF/includes/pe.gtpl" %>


<% include "/WEB-INF/includes/fin.gtpl" %>

